package com.zlt.bkparking.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Date: 2022/10/8 10:09
 * @Author: hzj
 * @Description:
 */

@Data
public class ExportAdvertisementPlayedExcel {

    /**
     * 设备id
     */
    @ExcelProperty(value = {"设备id"}, index = 0)
    private Integer eId;

    /**
     * 广告客户
     */
    @ExcelProperty(value = {"广告客户"}, index = 1)
    private String auCompany;

    /**
     * 广告
     */
    @ExcelProperty(value = {"广告"}, index = 2)
    private String adName;

    /**
     * 广告开始播放时间
     */
    @ExcelProperty(value = {"广告开始播放时间"}, index = 3)
    @JsonFormat(timezone = "yyyy-MM-dd HH:mm:ss")
    private Date apStart;

    /**
     * 广告结束播放时间
     */
    @JsonFormat(timezone = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = {"广告结束播放时间"}, index = 4)
    private Date spEnd;





}
